home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 15
/
Aminet 15 - Nov 1996.iso
/
Aminet
/
dev
/
gcc
/
ixemsdk.lha
/
man
/
cat3
/
calloc.0
< prev
next >
Wrap
Text File
|
1996-09-02
|
1KB
|
28 lines
CALLOC(3) UNIX Programmer's Manual CALLOC(3)
NNAAMMEE
ccaalllloocc - allocate clean memory (zero initialized space)
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddlliibb..hh>>
_v_o_i_d _*
ccaalllloocc(_s_i_z_e___t _n_m_e_m_b, _s_i_z_e___t _s_i_z_e)
DDEESSCCRRIIPPTTIIOONN
The ccaalllloocc() function allocates space for an array of _n_m_e_m_b objects, each
of whose size is _s_i_z_e. The space is initialized to all bits zero.
RREETTUURRNN VVAALLUUEESS
The ccaalllloocc() function returns a pointer to the the allocated space if
successful; otherwise a null pointer is returned.
SSEEEE AALLSSOO
malloc(3), realloc(3), free(3)
SSTTAANNDDAARRDDSS
The ccaalllloocc() function conforms to ANSI C3.159-1989 (``ANSI C'').
BSD Experimental June 29, 1991 1